package com.quanyan.alipay.protocal;

/**
 * Created by zhuo.shi on 2016/7/11.
 * 支付宝批量付款到支付宝账户有密接口，请求参数
 * 参考：https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.HwIQFx&treeId=64&articleId=104804&docType=1
 */
public class AliPayBatchTransReqData {

    private String service = "batch_trans_notify";
    private String partner;                 //合作身份者ID
    private String _input_charset;          //参数编码字符集
    private String sign_type;
    private String sign;
    private String notify_url;              //回调地址

    private String account_name;            //付款方的支付宝账户名
    private String detail_data;             //付款的详细数据，最多支持1000笔。格式为：流水号1^收款方账号1^收款账号姓名1^付款金额1^备注说明1|流水号2^收款方账号2^收款账号姓名2^付款金额2^备注说明2。
                                            // 流水号不能超过64字节，收款方账号小于100字节，备注不能超过200字节。当付款方为企业账户，且转账金额达到（大于等于）50000元，备注不能为空。
    private String batch_no;                //批量付款批次号, 11～32位的数字或字母或数字与字母的组合，且区分大小写。
    private String batch_num;               //批量付款笔数（最少1笔，最多1000笔）
    private String batch_fee;               //付款文件中的总金额,格式：10.01，精确到分
    private String email;                   //付款方的支付宝账号，支持邮箱和手机号2种格式
    private String pay_date;                //支付时间（必须为当前日期）,格式：YYYYMMDD
    private String buyer_account_name;      //付款账号别名，可为空
    private String extend_param;            //业务拓展参数，可为空

    public String getService() {
        return service;
    }

    public String getPartner() {
        return partner;
    }

    public void setPartner(String partner) {
        this.partner = partner;
    }

    public String get_input_charset() {
        return _input_charset;
    }

    public void set_input_charset(String _input_charset) {
        this._input_charset = _input_charset;
    }

    public String getSign_type() {
        return sign_type;
    }

    public void setSign_type(String sign_type) {
        this.sign_type = sign_type;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getNotify_url() {
        return notify_url;
    }

    public void setNotify_url(String notify_url) {
        this.notify_url = notify_url;
    }

    public String getAccount_name() {
        return account_name;
    }

    public void setAccount_name(String account_name) {
        this.account_name = account_name;
    }

    public String getDetail_data() {
        return detail_data;
    }

    public void setDetail_data(String detail_data) {
        this.detail_data = detail_data;
    }

    public String getBatch_no() {
        return batch_no;
    }

    public void setBatch_no(String batch_no) {
        this.batch_no = batch_no;
    }

    public String getBatch_num() {
        return batch_num;
    }

    public void setBatch_num(String batch_num) {
        this.batch_num = batch_num;
    }

    public String getBatch_fee() {
        return batch_fee;
    }

    public void setBatch_fee(String batch_fee) {
        this.batch_fee = batch_fee;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPay_date() {
        return pay_date;
    }

    public void setPay_date(String pay_date) {
        this.pay_date = pay_date;
    }

    public String getBuyer_account_name() {
        return buyer_account_name;
    }

    public void setBuyer_account_name(String buyer_account_name) {
        this.buyer_account_name = buyer_account_name;
    }

    public String getExtend_param() {
        return extend_param;
    }

    public void setExtend_param(String extend_param) {
        this.extend_param = extend_param;
    }
}
